package cn.tang.tframe.sdm.aop;

import cn.tang.tframe.sdm.enums.AuthorityTypeEnum;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 当前操作人是否有当前学校的数据权限
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })
@Documented
@ApiCheckApp
public @interface UcmAuthrizeSchoolApi {
	String value() default "";
	String exp() default "";
	AuthorityTypeEnum authorities() default AuthorityTypeEnum.read;
}